package com.xnyzc.lhy.mis.entity.cms.auditentry;

import com.baomidou.mybatisplus.annotation.Version;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 审核入驻表
 *
 * @author cuixiaojian
 * @since 2019-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysAuditEntry对象", description = "审核入驻表")
public class OaSysAuditEntry implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "audit_id", type = IdType.INPUT)
    private Long auditId;

    @ApiModelProperty(value = "入驻流水号")
    private String residentSerialNumber;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "手机号")
    private String driverPhone;

    @ApiModelProperty(value = "姓名")
    private String driverName;

    @ApiModelProperty(value = "身份证")
    private String idcard;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "驾龄")
    private String driveAge;

    @ApiModelProperty(value = "车牌号")
    private String carNo;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "车辆颜色")
    private Integer color;

    @ApiModelProperty(value = "车系编码")
    private String vehCode;

    @ApiModelProperty(value = "部门编码")
    private Integer officeCode;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "驾驶证")
    private Long driverLicense;

    @ApiModelProperty(value = "行驶证")
    private Long carLicense;

    @ApiModelProperty(value = "网约车运输证")
    private Long netCarCertificate;

    @ApiModelProperty(value = "网约车驾驶员证")
    private Long netDriverCertificate;

    @ApiModelProperty(value = "燃油类型（0：电动、1：油车）")
    private Integer engine;

    @ApiModelProperty(value = "审核状态,参见字典宝type = audit_status")
    private Integer status;

    @ApiModelProperty(value = "审核意见")
    private String remark;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String AUDIT_ID = "audit_id";

    public static final String RESIDENT_SERIAL_NUMBER = "resident_serial_number";

    public static final String DRIVER_ID = "driver_id";

    public static final String DRIVER_PHONE = "driver_phone";

    public static final String DRIVER_NAME = "driver_name";

    public static final String IDCARD = "idcard";

    public static final String SEX = "sex";

    public static final String DRIVE_AGE = "drive_age";

    public static final String CAR_NO = "car_no";

    public static final String VIN = "vin";

    public static final String COLOR = "color";

    public static final String VEH_CODE = "veh_code";

    public static final String OFFICE_CODE = "office_code";

    public static final String CITY_CODE = "city_code";

    public static final String DRIVER_LICENSE = "driver_license";

    public static final String CAR_LICENSE = "car_license";

    public static final String NET_CAR_CERTIFICATE = "net_car_certificate";

    public static final String NET_DRIVER_CERTIFICATE = "net_driver_certificate";

    public static final String ENGINE = "engine";

    public static final String STATUS = "status";

    public static final String REMARK = "remark";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
